import { AUDIT_STATE_OPTIONS } from '@/constants/markupRate';

export const FORM_ITEMS = [
  {
    prop: 'recordNo',
    label: '单据号',
    type: 'input'
  },
  {
    prop: 'commitState',
    label: '审核状态',
    type: 'select',
    clearable: true,
    options: AUDIT_STATE_OPTIONS
  },
  {
    prop: 'pusherName',
    label: '提交人',
    type: 'input'
  },
  {
    prop: 'pusherDeptName',
    label: '提交部门',
    type: 'input'
  },
]

export const TABLE_COLUMNS = [
  {
    title: '单据号',
    key: 'recordNo'
  },
  {
    title: '提交人',
    key: 'pusherName'
  },
  {
    title: '提交部门',
    key: 'pusherDeptName'
  },
  {
    title: '提交时间',
    key: 'pushTime'
  },
  {
    title: '单据状态',
    key: 'commitStateStr'
  }
]
